import request from '@/utils/request'
import { otherFiltersItem } from '@/utils'
/**
 * 获取产品定位分页数据
 * @param {FormData} data
 * @returns
 */
export function getProPositionList(data) {
  return request({
    url: `/api/v1/displayProductOrientation/page`,
    method: 'post',
    data
  })
}

/**
 * 新增、修改
 * @param {object} data
 * @returns
 */
export function saveProPosition(data) {
  return request({
    url: `/api/v1/displayProductOrientation`,
    method: data.id ? 'put' : 'post',
    data
  })
}

/**
 * 批量删除
 * @param {Array} data
 * @returns
 */
export function deleteProPosition(data) {
  return request({
    url: `/api/v1/displayProductOrientation/deleteBatch`,
    method: 'delete',
    data
  })
}
